﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Entity;
using Business.IManager;
using DataAccess.IService;
using DataAccess.Service;

namespace Business.Manager
{
    public class PaymentItemManagerImp
    {
        PaymentItemService paymentItemService = new PaymentItemService();
        IAccountService studentService = new AccountService();


        public DataSet GetPaymentProject(string studentId){
            String[] objId = studentService.GetStudentObjectId(studentId);
            string s1 = objId[0];
            string s2 = objId[1];
            return paymentItemService.GetPaymentProjectDS(objId);
        }



        public DataSet GetDetailPaymentItem(int projectId,string studentId){
            return paymentItemService.GetPaymentItemDS(projectId,studentId);
        }
    }
}
